package com.powernode.ajax.service.Impl;

import com.powernode.ajax.mapper.UserMapper;
import com.powernode.ajax.pojo.User;
import com.powernode.ajax.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("accountService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User select(String username) {
        return userMapper.selectByUsername(username);
    }
}
